package com.dhcc.file.service;

import com.dhcc.file.model.Attach;

import java.util.List;

public interface FileService {

    int add(Attach attach);

    int del(String id);

    Attach getById(String id);

    List<Attach> list();

    Attach getLikeFileName(String fileName);

    int upt(Attach attach);

    int del();

}
